<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-comment">{-
   OpenAPI Petstore

   This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \&quot; \\

   OpenAPI Version: 3.0.1
   OpenAPI Petstore API version: 1.0.0
   Generated by OpenAPI Generator (https://openapi-generator.tech)
-}</span><span>
</span><span id="line-10"></span><span>
</span><span id="line-11"></span><span class="hs-comment">{-|
Module : OpenAPIPetstore.API.Fake
-}</span><span>
</span><span id="line-14"></span><span>
</span><span id="line-15"></span><span class="hs-pragma">{-# LANGUAGE FlexibleContexts #-}</span><span>
</span><span id="line-16"></span><span class="hs-pragma">{-# LANGUAGE FlexibleInstances #-}</span><span>
</span><span id="line-17"></span><span class="hs-pragma">{-# LANGUAGE MonoLocalBinds #-}</span><span>
</span><span id="line-18"></span><span class="hs-pragma">{-# LANGUAGE MultiParamTypeClasses #-}</span><span>
</span><span id="line-19"></span><span class="hs-pragma">{-# LANGUAGE OverloadedStrings #-}</span><span>
</span><span id="line-20"></span><span class="hs-pragma">{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-}</span><span>
</span><span id="line-21"></span><span>
</span><span id="line-22"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">OpenAPIPetstore.API.Fake</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-23"></span><span>
</span><span id="line-24"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html"><span class="hs-identifier">OpenAPIPetstore.Core</span></a></span><span>
</span><span id="line-25"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html"><span class="hs-identifier">OpenAPIPetstore.MimeTypes</span></a></span><span>
</span><span id="line-26"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html"><span class="hs-identifier">OpenAPIPetstore.Model</span></a></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">M</span></span><span>
</span><span id="line-27"></span><span>
</span><span id="line-28"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.Aeson</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">A</span></span><span>
</span><span id="line-29"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.ByteString</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">B</span></span><span>
</span><span id="line-30"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.ByteString.Lazy</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">BL</span></span><span>
</span><span id="line-31"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.Data</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">P</span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-identifier">Typeable</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="hs-identifier">TypeRep</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="hs-identifier">typeOf</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="hs-identifier">typeRep</span></span><span class="hs-special">)</span><span>
</span><span id="line-32"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.Foldable</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">P</span></span><span>
</span><span id="line-33"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.Map</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">Map</span></span><span>
</span><span id="line-34"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.Maybe</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">P</span></span><span>
</span><span id="line-35"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.Proxy</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">P</span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-identifier">Proxy</span></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">)</span><span>
</span><span id="line-36"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.Set</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">Set</span></span><span>
</span><span id="line-37"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.String</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">P</span></span><span>
</span><span id="line-38"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.Text</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">T</span></span><span>
</span><span id="line-39"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.Text.Encoding</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">T</span></span><span>
</span><span id="line-40"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.Text.Lazy</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">TL</span></span><span>
</span><span id="line-41"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.Text.Lazy.Encoding</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">TL</span></span><span>
</span><span id="line-42"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Data.Time</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">TI</span></span><span>
</span><span id="line-43"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Network.HTTP.Client.MultipartFormData</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">NH</span></span><span>
</span><span id="line-44"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Network.HTTP.Media</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">ME</span></span><span>
</span><span id="line-45"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Network.HTTP.Types</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">NH</span></span><span>
</span><span id="line-46"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Web.FormUrlEncoded</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">WH</span></span><span>
</span><span id="line-47"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Web.HttpApiData</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">WH</span></span><span>
</span><span id="line-48"></span><span>
</span><span id="line-49"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><span class="hs-identifier">Data.Text</span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-identifier">Text</span></span><span class="hs-special">)</span><span>
</span><span id="line-50"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><span class="hs-identifier">GHC.Base</span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-operator">(&lt;|&gt;)</span></span><span class="hs-special">)</span><span>
</span><span id="line-51"></span><span>
</span><span id="line-52"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><span class="hs-identifier">Prelude</span></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="hs-operator">(==)</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-operator">(/=)</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-operator">($)</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="hs-operator">(.)</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-operator">(&lt;$&gt;)</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-operator">(&lt;*&gt;)</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-operator">(&gt;&gt;=)</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">Maybe</span></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">Bool</span></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">Char</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">Double</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">FilePath</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">Float</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">Int</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">Integer</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">String</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">fmap</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">undefined</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">mempty</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">maybe</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">pure</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">Monad</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">Applicative</span></span><span class="hs-special">,</span><span class="annot"><span class="hs-identifier">Functor</span></span><span class="hs-special">)</span><span>
</span><span id="line-53"></span><span class="hs-keyword">import</span><span> </span><span class="hs-keyword">qualified</span><span> </span><span class="annot"><span class="hs-identifier">Prelude</span></span><span> </span><span class="hs-keyword">as</span><span> </span><span class="annot"><span class="hs-identifier">P</span></span><span>
</span><span id="line-54"></span><span>
</span><span id="line-55"></span><span class="hs-comment">-- * Operations</span><span>
</span><span id="line-56"></span><span>
</span><span id="line-57"></span><span>
</span><span id="line-58"></span><span class="hs-comment">-- ** Fake</span><span>
</span><span id="line-59"></span><span>
</span><span id="line-60"></span><span class="hs-comment">-- *** createXmlItem</span><span>
</span><span id="line-61"></span><span>
</span><span id="line-62"></span><span class="hs-comment">-- | @POST \/fake\/create_xml_item@</span><span>
</span><span id="line-63"></span><span class="hs-comment">-- </span><span>
</span><span id="line-64"></span><span class="hs-comment">-- creates an XmlItem</span><span>
</span><span id="line-65"></span><span class="hs-comment">-- </span><span>
</span><span id="line-66"></span><span class="hs-comment">-- this route creates an XmlItem</span><span>
</span><span id="line-67"></span><span class="hs-comment">-- </span><span>
</span><span id="line-68"></span><span id="local-6989586621679152532"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#createXmlItem"><span class="hs-identifier hs-type">createXmlItem</span></a></span><span>
</span><span id="line-69"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#CreateXmlItem"><span class="hs-identifier hs-type">CreateXmlItem</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152532"><span class="hs-identifier hs-type">contentType</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152532"><span class="hs-identifier hs-type">contentType</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#XmlItem"><span class="hs-identifier hs-type">XmlItem</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-70"></span><span>  </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#ContentType"><span class="hs-identifier hs-type">ContentType</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152532"><span class="hs-identifier hs-type">contentType</span></a></span><span> </span><span class="hs-comment">-- ^ request content-type ('MimeType')</span><span>
</span><span id="line-71"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#XmlItem"><span class="hs-identifier hs-type">XmlItem</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;xmlItem&quot; -  XmlItem Body</span><span>
</span><span id="line-72"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#CreateXmlItem"><span class="hs-identifier hs-type">CreateXmlItem</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152532"><span class="hs-identifier hs-type">contentType</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#NoContent"><span class="hs-identifier hs-type">NoContent</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span></span><span>
</span><span id="line-73"></span><span id="createXmlItem"><span class="annot"><span class="annottext">createXmlItem :: ContentType contentType
-&gt; XmlItem
-&gt; OpenAPIPetstoreRequest
     CreateXmlItem contentType NoContent MimeNoContent
</span><a href="OpenAPIPetstore.API.Fake.html#createXmlItem"><span class="hs-identifier hs-var hs-var">createXmlItem</span></a></span></span><span> </span><span class="annot"><span class="annottext">ContentType contentType
</span><span class="hs-identifier">_</span></span><span> </span><span id="local-6989586621679152530"><span class="annot"><span class="annottext">XmlItem
</span><a href="#local-6989586621679152530"><span class="hs-identifier hs-var">xmlItem</span></a></span></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-74"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest
     CreateXmlItem contentType NoContent MimeNoContent
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;POST&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake/create_xml_item&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-75"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  CreateXmlItem contentType NoContent MimeNoContent
-&gt; XmlItem
-&gt; OpenAPIPetstoreRequest
     CreateXmlItem contentType NoContent MimeNoContent
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =&gt;
OpenAPIPetstoreRequest req contentType res accept
-&gt; param -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#setBodyParam"><span class="hs-operator hs-var">`setBodyParam`</span></a></span><span> </span><span class="annot"><span class="annottext">XmlItem
</span><a href="#local-6989586621679152530"><span class="hs-identifier hs-var">xmlItem</span></a></span><span>
</span><span id="line-76"></span><span>
</span><span id="line-77"></span><span class="hs-keyword">data</span><span> </span><span id="CreateXmlItem"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#CreateXmlItem"><span class="hs-identifier hs-var">CreateXmlItem</span></a></span></span><span> </span><span>
</span><span id="line-78"></span><span>
</span><span id="line-79"></span><span class="hs-comment">-- | /Body Param/ &quot;XmlItem&quot; - XmlItem Body</span><span>
</span><span id="line-80"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152526"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasBodyParam"><span class="hs-identifier hs-type">HasBodyParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#CreateXmlItem"><span class="hs-identifier hs-type">CreateXmlItem</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#XmlItem"><span class="hs-identifier hs-type">XmlItem</span></a></span></span><span> </span><span>
</span><span id="line-81"></span><span>
</span><span id="line-82"></span><span class="hs-comment">-- | @application/xml@</span><span>
</span><span id="line-83"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#CreateXmlItem"><span class="hs-identifier hs-type">CreateXmlItem</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeXML"><span class="hs-identifier hs-type">MimeXML</span></a></span><span>
</span><span id="line-84"></span><span class="hs-comment">-- | @text/xml@</span><span>
</span><span id="line-85"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#CreateXmlItem"><span class="hs-identifier hs-type">CreateXmlItem</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeTextXml"><span class="hs-identifier hs-type">MimeTextXml</span></a></span><span>
</span><span id="line-86"></span><span class="hs-comment">-- | @text/xml; charset=utf-8@</span><span>
</span><span id="line-87"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#CreateXmlItem"><span class="hs-identifier hs-type">CreateXmlItem</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeTextXmlCharsetutf8"><span class="hs-identifier hs-type">MimeTextXmlCharsetutf8</span></a></span><span>
</span><span id="line-88"></span><span class="hs-comment">-- | @text/xml; charset=utf-16@</span><span>
</span><span id="line-89"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#CreateXmlItem"><span class="hs-identifier hs-type">CreateXmlItem</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeTextXmlCharsetutf16"><span class="hs-identifier hs-type">MimeTextXmlCharsetutf16</span></a></span><span>
</span><span id="line-90"></span><span class="hs-comment">-- | @application/xml; charset=utf-8@</span><span>
</span><span id="line-91"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#CreateXmlItem"><span class="hs-identifier hs-type">CreateXmlItem</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeXmlCharsetutf8"><span class="hs-identifier hs-type">MimeXmlCharsetutf8</span></a></span><span>
</span><span id="line-92"></span><span class="hs-comment">-- | @application/xml; charset=utf-16@</span><span>
</span><span id="line-93"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#CreateXmlItem"><span class="hs-identifier hs-type">CreateXmlItem</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeXmlCharsetutf16"><span class="hs-identifier hs-type">MimeXmlCharsetutf16</span></a></span><span>
</span><span id="line-94"></span><span>
</span><span id="line-95"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#CreateXmlItem"><span class="hs-identifier hs-type">CreateXmlItem</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-96"></span><span>
</span><span id="line-97"></span><span>
</span><span id="line-98"></span><span class="hs-comment">-- *** fakeOuterBooleanSerialize</span><span>
</span><span id="line-99"></span><span>
</span><span id="line-100"></span><span class="hs-comment">-- | @POST \/fake\/outer\/boolean@</span><span>
</span><span id="line-101"></span><span class="hs-comment">-- </span><span>
</span><span id="line-102"></span><span class="hs-comment">-- Test serialization of outer boolean types</span><span>
</span><span id="line-103"></span><span class="hs-comment">-- </span><span>
</span><span id="line-104"></span><span id="local-6989586621679152514"><span id="local-6989586621679152515"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#fakeOuterBooleanSerialize"><span class="hs-identifier hs-type">fakeOuterBooleanSerialize</span></a></span><span>
</span><span id="line-105"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterBooleanSerialize"><span class="hs-identifier hs-type">FakeOuterBooleanSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152515"><span class="hs-identifier hs-type">contentType</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-106"></span><span>  </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#ContentType"><span class="hs-identifier hs-type">ContentType</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152515"><span class="hs-identifier hs-type">contentType</span></a></span><span> </span><span class="hs-comment">-- ^ request content-type ('MimeType')</span><span>
</span><span id="line-107"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Accept"><span class="hs-identifier hs-type">Accept</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152514"><span class="hs-identifier hs-type">accept</span></a></span><span> </span><span class="hs-comment">-- ^ request accept ('MimeType')</span><span>
</span><span id="line-108"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterBooleanSerialize"><span class="hs-identifier hs-type">FakeOuterBooleanSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152515"><span class="hs-identifier hs-type">contentType</span></a></span><span> </span><span class="annot"><span class="hs-identifier hs-type">Bool</span></span><span> </span><span class="annot"><a href="#local-6989586621679152514"><span class="hs-identifier hs-type">accept</span></a></span></span></span><span>
</span><span id="line-109"></span><span id="fakeOuterBooleanSerialize"><span class="annot"><span class="annottext">fakeOuterBooleanSerialize :: ContentType contentType
-&gt; Accept accept
-&gt; OpenAPIPetstoreRequest
     FakeOuterBooleanSerialize contentType Bool accept
</span><a href="OpenAPIPetstore.API.Fake.html#fakeOuterBooleanSerialize"><span class="hs-identifier hs-var hs-var">fakeOuterBooleanSerialize</span></a></span></span><span> </span><span class="annot"><span class="annottext">ContentType contentType
</span><span class="hs-identifier">_</span></span><span>  </span><span class="annot"><span class="annottext">Accept accept
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-110"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest
     FakeOuterBooleanSerialize contentType Bool accept
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;POST&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake/outer/boolean&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-111"></span><span>
</span><span id="line-112"></span><span class="hs-keyword">data</span><span> </span><span id="FakeOuterBooleanSerialize"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterBooleanSerialize"><span class="hs-identifier hs-var">FakeOuterBooleanSerialize</span></a></span></span><span> </span><span>
</span><span id="line-113"></span><span>
</span><span id="line-114"></span><span class="hs-comment">-- | /Body Param/ &quot;body&quot; - Input boolean as post body</span><span>
</span><span id="line-115"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152511"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasBodyParam"><span class="hs-identifier hs-type">HasBodyParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterBooleanSerialize"><span class="hs-identifier hs-type">FakeOuterBooleanSerialize</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#BodyBool"><span class="hs-identifier hs-type">BodyBool</span></a></span></span><span> </span><span>
</span><span id="line-116"></span><span>
</span><span id="line-117"></span><span class="hs-comment">-- | @*/*@</span><span>
</span><span id="line-118"></span><span id="local-6989586621679152510"><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeType"><span class="hs-identifier hs-type">MimeType</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152510"><span class="hs-identifier hs-type">mtype</span></a></span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterBooleanSerialize"><span class="hs-identifier hs-type">FakeOuterBooleanSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152510"><span class="hs-identifier hs-type">mtype</span></a></span></span><span>
</span><span id="line-119"></span><span>
</span><span id="line-120"></span><span class="hs-comment">-- | @*/*@</span><span>
</span><span id="line-121"></span><span id="local-6989586621679152508"><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeType"><span class="hs-identifier hs-type">MimeType</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152508"><span class="hs-identifier hs-type">mtype</span></a></span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterBooleanSerialize"><span class="hs-identifier hs-type">FakeOuterBooleanSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152508"><span class="hs-identifier hs-type">mtype</span></a></span></span><span>
</span><span id="line-122"></span><span>
</span><span id="line-123"></span><span>
</span><span id="line-124"></span><span class="hs-comment">-- *** fakeOuterCompositeSerialize</span><span>
</span><span id="line-125"></span><span>
</span><span id="line-126"></span><span class="hs-comment">-- | @POST \/fake\/outer\/composite@</span><span>
</span><span id="line-127"></span><span class="hs-comment">-- </span><span>
</span><span id="line-128"></span><span class="hs-comment">-- Test serialization of object with outer number type</span><span>
</span><span id="line-129"></span><span class="hs-comment">-- </span><span>
</span><span id="line-130"></span><span id="local-6989586621679152505"><span id="local-6989586621679152506"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#fakeOuterCompositeSerialize"><span class="hs-identifier hs-type">fakeOuterCompositeSerialize</span></a></span><span>
</span><span id="line-131"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterCompositeSerialize"><span class="hs-identifier hs-type">FakeOuterCompositeSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152506"><span class="hs-identifier hs-type">contentType</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-132"></span><span>  </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#ContentType"><span class="hs-identifier hs-type">ContentType</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152506"><span class="hs-identifier hs-type">contentType</span></a></span><span> </span><span class="hs-comment">-- ^ request content-type ('MimeType')</span><span>
</span><span id="line-133"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Accept"><span class="hs-identifier hs-type">Accept</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152505"><span class="hs-identifier hs-type">accept</span></a></span><span> </span><span class="hs-comment">-- ^ request accept ('MimeType')</span><span>
</span><span id="line-134"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterCompositeSerialize"><span class="hs-identifier hs-type">FakeOuterCompositeSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152506"><span class="hs-identifier hs-type">contentType</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#OuterComposite"><span class="hs-identifier hs-type">OuterComposite</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152505"><span class="hs-identifier hs-type">accept</span></a></span></span></span><span>
</span><span id="line-135"></span><span id="fakeOuterCompositeSerialize"><span class="annot"><span class="annottext">fakeOuterCompositeSerialize :: ContentType contentType
-&gt; Accept accept
-&gt; OpenAPIPetstoreRequest
     FakeOuterCompositeSerialize contentType OuterComposite accept
</span><a href="OpenAPIPetstore.API.Fake.html#fakeOuterCompositeSerialize"><span class="hs-identifier hs-var hs-var">fakeOuterCompositeSerialize</span></a></span></span><span> </span><span class="annot"><span class="annottext">ContentType contentType
</span><span class="hs-identifier">_</span></span><span>  </span><span class="annot"><span class="annottext">Accept accept
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-136"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest
     FakeOuterCompositeSerialize contentType OuterComposite accept
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;POST&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake/outer/composite&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-137"></span><span>
</span><span id="line-138"></span><span class="hs-keyword">data</span><span> </span><span id="FakeOuterCompositeSerialize"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterCompositeSerialize"><span class="hs-identifier hs-var">FakeOuterCompositeSerialize</span></a></span></span><span> </span><span>
</span><span id="line-139"></span><span>
</span><span id="line-140"></span><span class="hs-comment">-- | /Body Param/ &quot;body&quot; - Input composite as post body</span><span>
</span><span id="line-141"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152502"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasBodyParam"><span class="hs-identifier hs-type">HasBodyParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterCompositeSerialize"><span class="hs-identifier hs-type">FakeOuterCompositeSerialize</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#OuterComposite"><span class="hs-identifier hs-type">OuterComposite</span></a></span></span><span> </span><span>
</span><span id="line-142"></span><span>
</span><span id="line-143"></span><span class="hs-comment">-- | @*/*@</span><span>
</span><span id="line-144"></span><span id="local-6989586621679152501"><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeType"><span class="hs-identifier hs-type">MimeType</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152501"><span class="hs-identifier hs-type">mtype</span></a></span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterCompositeSerialize"><span class="hs-identifier hs-type">FakeOuterCompositeSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152501"><span class="hs-identifier hs-type">mtype</span></a></span></span><span>
</span><span id="line-145"></span><span>
</span><span id="line-146"></span><span class="hs-comment">-- | @*/*@</span><span>
</span><span id="line-147"></span><span id="local-6989586621679152499"><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeType"><span class="hs-identifier hs-type">MimeType</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152499"><span class="hs-identifier hs-type">mtype</span></a></span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterCompositeSerialize"><span class="hs-identifier hs-type">FakeOuterCompositeSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152499"><span class="hs-identifier hs-type">mtype</span></a></span></span><span>
</span><span id="line-148"></span><span>
</span><span id="line-149"></span><span>
</span><span id="line-150"></span><span class="hs-comment">-- *** fakeOuterNumberSerialize</span><span>
</span><span id="line-151"></span><span>
</span><span id="line-152"></span><span class="hs-comment">-- | @POST \/fake\/outer\/number@</span><span>
</span><span id="line-153"></span><span class="hs-comment">-- </span><span>
</span><span id="line-154"></span><span class="hs-comment">-- Test serialization of outer number types</span><span>
</span><span id="line-155"></span><span class="hs-comment">-- </span><span>
</span><span id="line-156"></span><span id="local-6989586621679152496"><span id="local-6989586621679152497"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#fakeOuterNumberSerialize"><span class="hs-identifier hs-type">fakeOuterNumberSerialize</span></a></span><span>
</span><span id="line-157"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterNumberSerialize"><span class="hs-identifier hs-type">FakeOuterNumberSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152497"><span class="hs-identifier hs-type">contentType</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-158"></span><span>  </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#ContentType"><span class="hs-identifier hs-type">ContentType</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152497"><span class="hs-identifier hs-type">contentType</span></a></span><span> </span><span class="hs-comment">-- ^ request content-type ('MimeType')</span><span>
</span><span id="line-159"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Accept"><span class="hs-identifier hs-type">Accept</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152496"><span class="hs-identifier hs-type">accept</span></a></span><span> </span><span class="hs-comment">-- ^ request accept ('MimeType')</span><span>
</span><span id="line-160"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterNumberSerialize"><span class="hs-identifier hs-type">FakeOuterNumberSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152497"><span class="hs-identifier hs-type">contentType</span></a></span><span> </span><span class="annot"><span class="hs-identifier hs-type">Double</span></span><span> </span><span class="annot"><a href="#local-6989586621679152496"><span class="hs-identifier hs-type">accept</span></a></span></span></span><span>
</span><span id="line-161"></span><span id="fakeOuterNumberSerialize"><span class="annot"><span class="annottext">fakeOuterNumberSerialize :: ContentType contentType
-&gt; Accept accept
-&gt; OpenAPIPetstoreRequest
     FakeOuterNumberSerialize contentType Double accept
</span><a href="OpenAPIPetstore.API.Fake.html#fakeOuterNumberSerialize"><span class="hs-identifier hs-var hs-var">fakeOuterNumberSerialize</span></a></span></span><span> </span><span class="annot"><span class="annottext">ContentType contentType
</span><span class="hs-identifier">_</span></span><span>  </span><span class="annot"><span class="annottext">Accept accept
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-162"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest
     FakeOuterNumberSerialize contentType Double accept
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;POST&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake/outer/number&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-163"></span><span>
</span><span id="line-164"></span><span class="hs-keyword">data</span><span> </span><span id="FakeOuterNumberSerialize"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterNumberSerialize"><span class="hs-identifier hs-var">FakeOuterNumberSerialize</span></a></span></span><span> </span><span>
</span><span id="line-165"></span><span>
</span><span id="line-166"></span><span class="hs-comment">-- | /Body Param/ &quot;body&quot; - Input number as post body</span><span>
</span><span id="line-167"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152493"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasBodyParam"><span class="hs-identifier hs-type">HasBodyParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterNumberSerialize"><span class="hs-identifier hs-type">FakeOuterNumberSerialize</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#BodyDouble"><span class="hs-identifier hs-type">BodyDouble</span></a></span></span><span> </span><span>
</span><span id="line-168"></span><span>
</span><span id="line-169"></span><span class="hs-comment">-- | @*/*@</span><span>
</span><span id="line-170"></span><span id="local-6989586621679152492"><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeType"><span class="hs-identifier hs-type">MimeType</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152492"><span class="hs-identifier hs-type">mtype</span></a></span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterNumberSerialize"><span class="hs-identifier hs-type">FakeOuterNumberSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152492"><span class="hs-identifier hs-type">mtype</span></a></span></span><span>
</span><span id="line-171"></span><span>
</span><span id="line-172"></span><span class="hs-comment">-- | @*/*@</span><span>
</span><span id="line-173"></span><span id="local-6989586621679152490"><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeType"><span class="hs-identifier hs-type">MimeType</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152490"><span class="hs-identifier hs-type">mtype</span></a></span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterNumberSerialize"><span class="hs-identifier hs-type">FakeOuterNumberSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152490"><span class="hs-identifier hs-type">mtype</span></a></span></span><span>
</span><span id="line-174"></span><span>
</span><span id="line-175"></span><span>
</span><span id="line-176"></span><span class="hs-comment">-- *** fakeOuterStringSerialize</span><span>
</span><span id="line-177"></span><span>
</span><span id="line-178"></span><span class="hs-comment">-- | @POST \/fake\/outer\/string@</span><span>
</span><span id="line-179"></span><span class="hs-comment">-- </span><span>
</span><span id="line-180"></span><span class="hs-comment">-- Test serialization of outer string types</span><span>
</span><span id="line-181"></span><span class="hs-comment">-- </span><span>
</span><span id="line-182"></span><span id="local-6989586621679152487"><span id="local-6989586621679152488"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#fakeOuterStringSerialize"><span class="hs-identifier hs-type">fakeOuterStringSerialize</span></a></span><span>
</span><span id="line-183"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterStringSerialize"><span class="hs-identifier hs-type">FakeOuterStringSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152488"><span class="hs-identifier hs-type">contentType</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-184"></span><span>  </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#ContentType"><span class="hs-identifier hs-type">ContentType</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152488"><span class="hs-identifier hs-type">contentType</span></a></span><span> </span><span class="hs-comment">-- ^ request content-type ('MimeType')</span><span>
</span><span id="line-185"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Accept"><span class="hs-identifier hs-type">Accept</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152487"><span class="hs-identifier hs-type">accept</span></a></span><span> </span><span class="hs-comment">-- ^ request accept ('MimeType')</span><span>
</span><span id="line-186"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterStringSerialize"><span class="hs-identifier hs-type">FakeOuterStringSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152488"><span class="hs-identifier hs-type">contentType</span></a></span><span> </span><span class="annot"><span class="hs-identifier hs-type">Text</span></span><span> </span><span class="annot"><a href="#local-6989586621679152487"><span class="hs-identifier hs-type">accept</span></a></span></span></span><span>
</span><span id="line-187"></span><span id="fakeOuterStringSerialize"><span class="annot"><span class="annottext">fakeOuterStringSerialize :: ContentType contentType
-&gt; Accept accept
-&gt; OpenAPIPetstoreRequest
     FakeOuterStringSerialize contentType Text accept
</span><a href="OpenAPIPetstore.API.Fake.html#fakeOuterStringSerialize"><span class="hs-identifier hs-var hs-var">fakeOuterStringSerialize</span></a></span></span><span> </span><span class="annot"><span class="annottext">ContentType contentType
</span><span class="hs-identifier">_</span></span><span>  </span><span class="annot"><span class="annottext">Accept accept
</span><span class="hs-identifier">_</span></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-188"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest
     FakeOuterStringSerialize contentType Text accept
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;POST&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake/outer/string&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-189"></span><span>
</span><span id="line-190"></span><span class="hs-keyword">data</span><span> </span><span id="FakeOuterStringSerialize"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterStringSerialize"><span class="hs-identifier hs-var">FakeOuterStringSerialize</span></a></span></span><span> </span><span>
</span><span id="line-191"></span><span>
</span><span id="line-192"></span><span class="hs-comment">-- | /Body Param/ &quot;body&quot; - Input string as post body</span><span>
</span><span id="line-193"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152484"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasBodyParam"><span class="hs-identifier hs-type">HasBodyParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterStringSerialize"><span class="hs-identifier hs-type">FakeOuterStringSerialize</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#BodyText"><span class="hs-identifier hs-type">BodyText</span></a></span></span><span> </span><span>
</span><span id="line-194"></span><span>
</span><span id="line-195"></span><span class="hs-comment">-- | @*/*@</span><span>
</span><span id="line-196"></span><span id="local-6989586621679152483"><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeType"><span class="hs-identifier hs-type">MimeType</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152483"><span class="hs-identifier hs-type">mtype</span></a></span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterStringSerialize"><span class="hs-identifier hs-type">FakeOuterStringSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152483"><span class="hs-identifier hs-type">mtype</span></a></span></span><span>
</span><span id="line-197"></span><span>
</span><span id="line-198"></span><span class="hs-comment">-- | @*/*@</span><span>
</span><span id="line-199"></span><span id="local-6989586621679152481"><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeType"><span class="hs-identifier hs-type">MimeType</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152481"><span class="hs-identifier hs-type">mtype</span></a></span><span> </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#FakeOuterStringSerialize"><span class="hs-identifier hs-type">FakeOuterStringSerialize</span></a></span><span> </span><span class="annot"><a href="#local-6989586621679152481"><span class="hs-identifier hs-type">mtype</span></a></span></span><span>
</span><span id="line-200"></span><span>
</span><span id="line-201"></span><span>
</span><span id="line-202"></span><span class="hs-comment">-- *** testBodyWithFileSchema</span><span>
</span><span id="line-203"></span><span>
</span><span id="line-204"></span><span class="hs-comment">-- | @PUT \/fake\/body-with-file-schema@</span><span>
</span><span id="line-205"></span><span class="hs-comment">-- </span><span>
</span><span id="line-206"></span><span class="hs-comment">-- For this test, the body for this request much reference a schema named `File`.</span><span>
</span><span id="line-207"></span><span class="hs-comment">-- </span><span>
</span><span id="line-208"></span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#testBodyWithFileSchema"><span class="hs-identifier hs-type">testBodyWithFileSchema</span></a></span><span>
</span><span id="line-209"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestBodyWithFileSchema"><span class="hs-identifier hs-type">TestBodyWithFileSchema</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#FileSchemaTestClass"><span class="hs-identifier hs-type">FileSchemaTestClass</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-210"></span><span>  </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#FileSchemaTestClass"><span class="hs-identifier hs-type">FileSchemaTestClass</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;body&quot;</span><span>
</span><span id="line-211"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestBodyWithFileSchema"><span class="hs-identifier hs-type">TestBodyWithFileSchema</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#NoContent"><span class="hs-identifier hs-type">NoContent</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-212"></span><span id="testBodyWithFileSchema"><span class="annot"><span class="annottext">testBodyWithFileSchema :: FileSchemaTestClass
-&gt; OpenAPIPetstoreRequest
     TestBodyWithFileSchema MimeJSON NoContent MimeNoContent
</span><a href="OpenAPIPetstore.API.Fake.html#testBodyWithFileSchema"><span class="hs-identifier hs-var hs-var">testBodyWithFileSchema</span></a></span></span><span> </span><span id="local-6989586621679152478"><span class="annot"><span class="annottext">FileSchemaTestClass
</span><a href="#local-6989586621679152478"><span class="hs-identifier hs-var">body</span></a></span></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-213"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest
     TestBodyWithFileSchema MimeJSON NoContent MimeNoContent
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;PUT&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake/body-with-file-schema&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-214"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestBodyWithFileSchema MimeJSON NoContent MimeNoContent
-&gt; FileSchemaTestClass
-&gt; OpenAPIPetstoreRequest
     TestBodyWithFileSchema MimeJSON NoContent MimeNoContent
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =&gt;
OpenAPIPetstoreRequest req contentType res accept
-&gt; param -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#setBodyParam"><span class="hs-operator hs-var">`setBodyParam`</span></a></span><span> </span><span class="annot"><span class="annottext">FileSchemaTestClass
</span><a href="#local-6989586621679152478"><span class="hs-identifier hs-var">body</span></a></span><span>
</span><span id="line-215"></span><span>
</span><span id="line-216"></span><span class="hs-keyword">data</span><span> </span><span id="TestBodyWithFileSchema"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestBodyWithFileSchema"><span class="hs-identifier hs-var">TestBodyWithFileSchema</span></a></span></span><span> </span><span>
</span><span id="line-217"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152476"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasBodyParam"><span class="hs-identifier hs-type">HasBodyParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestBodyWithFileSchema"><span class="hs-identifier hs-type">TestBodyWithFileSchema</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#FileSchemaTestClass"><span class="hs-identifier hs-type">FileSchemaTestClass</span></a></span></span><span> </span><span>
</span><span id="line-218"></span><span>
</span><span id="line-219"></span><span class="hs-comment">-- | @application/json@</span><span>
</span><span id="line-220"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestBodyWithFileSchema"><span class="hs-identifier hs-type">TestBodyWithFileSchema</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span>
</span><span id="line-221"></span><span>
</span><span id="line-222"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestBodyWithFileSchema"><span class="hs-identifier hs-type">TestBodyWithFileSchema</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-223"></span><span>
</span><span id="line-224"></span><span>
</span><span id="line-225"></span><span class="hs-comment">-- *** testBodyWithQueryParams</span><span>
</span><span id="line-226"></span><span>
</span><span id="line-227"></span><span class="hs-comment">-- | @PUT \/fake\/body-with-query-params@</span><span>
</span><span id="line-228"></span><span class="hs-comment">-- </span><span>
</span><span id="line-229"></span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#testBodyWithQueryParams"><span class="hs-identifier hs-type">testBodyWithQueryParams</span></a></span><span>
</span><span id="line-230"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestBodyWithQueryParams"><span class="hs-identifier hs-type">TestBodyWithQueryParams</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#User"><span class="hs-identifier hs-type">User</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-231"></span><span>  </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#User"><span class="hs-identifier hs-type">User</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;body&quot;</span><span>
</span><span id="line-232"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Query"><span class="hs-identifier hs-type">Query</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;query&quot;</span><span>
</span><span id="line-233"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestBodyWithQueryParams"><span class="hs-identifier hs-type">TestBodyWithQueryParams</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#NoContent"><span class="hs-identifier hs-type">NoContent</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-234"></span><span id="testBodyWithQueryParams"><span class="annot"><span class="annottext">testBodyWithQueryParams :: User
-&gt; Query
-&gt; OpenAPIPetstoreRequest
     TestBodyWithQueryParams MimeJSON NoContent MimeNoContent
</span><a href="OpenAPIPetstore.API.Fake.html#testBodyWithQueryParams"><span class="hs-identifier hs-var hs-var">testBodyWithQueryParams</span></a></span></span><span> </span><span id="local-6989586621679152472"><span class="annot"><span class="annottext">User
</span><a href="#local-6989586621679152472"><span class="hs-identifier hs-var">body</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Query"><span class="hs-identifier hs-type">Query</span></a></span><span> </span><span id="local-6989586621679152470"><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152470"><span class="hs-identifier hs-var">query</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-235"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest
     TestBodyWithQueryParams MimeJSON NoContent MimeNoContent
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;PUT&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake/body-with-query-params&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-236"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestBodyWithQueryParams MimeJSON NoContent MimeNoContent
-&gt; User
-&gt; OpenAPIPetstoreRequest
     TestBodyWithQueryParams MimeJSON NoContent MimeNoContent
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =&gt;
OpenAPIPetstoreRequest req contentType res accept
-&gt; param -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#setBodyParam"><span class="hs-operator hs-var">`setBodyParam`</span></a></span><span> </span><span class="annot"><span class="annottext">User
</span><a href="#local-6989586621679152472"><span class="hs-identifier hs-var">body</span></a></span><span>
</span><span id="line-237"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestBodyWithQueryParams MimeJSON NoContent MimeNoContent
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest
     TestBodyWithQueryParams MimeJSON NoContent MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Maybe Text) -&gt; [QueryItem]
forall a. ToHttpApiData a =&gt; (Method, Maybe a) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQuery"><span class="hs-identifier hs-var">toQuery</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;query&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Text -&gt; Maybe Text
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152470"><span class="hs-identifier hs-var">query</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-238"></span><span>
</span><span id="line-239"></span><span class="hs-keyword">data</span><span> </span><span id="TestBodyWithQueryParams"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestBodyWithQueryParams"><span class="hs-identifier hs-var">TestBodyWithQueryParams</span></a></span></span><span> </span><span>
</span><span id="line-240"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152466"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasBodyParam"><span class="hs-identifier hs-type">HasBodyParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestBodyWithQueryParams"><span class="hs-identifier hs-type">TestBodyWithQueryParams</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#User"><span class="hs-identifier hs-type">User</span></a></span></span><span> </span><span>
</span><span id="line-241"></span><span>
</span><span id="line-242"></span><span class="hs-comment">-- | @application/json@</span><span>
</span><span id="line-243"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestBodyWithQueryParams"><span class="hs-identifier hs-type">TestBodyWithQueryParams</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span>
</span><span id="line-244"></span><span>
</span><span id="line-245"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestBodyWithQueryParams"><span class="hs-identifier hs-type">TestBodyWithQueryParams</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-246"></span><span>
</span><span id="line-247"></span><span>
</span><span id="line-248"></span><span class="hs-comment">-- *** testClientModel</span><span>
</span><span id="line-249"></span><span>
</span><span id="line-250"></span><span class="hs-comment">-- | @PATCH \/fake@</span><span>
</span><span id="line-251"></span><span class="hs-comment">-- </span><span>
</span><span id="line-252"></span><span class="hs-comment">-- To test \&quot;client\&quot; model</span><span>
</span><span id="line-253"></span><span class="hs-comment">-- </span><span>
</span><span id="line-254"></span><span class="hs-comment">-- To test \&quot;client\&quot; model</span><span>
</span><span id="line-255"></span><span class="hs-comment">-- </span><span>
</span><span id="line-256"></span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#testClientModel"><span class="hs-identifier hs-type">testClientModel</span></a></span><span>
</span><span id="line-257"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestClientModel"><span class="hs-identifier hs-type">TestClientModel</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Client"><span class="hs-identifier hs-type">Client</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-258"></span><span>  </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Client"><span class="hs-identifier hs-type">Client</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;body&quot; -  client model</span><span>
</span><span id="line-259"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestClientModel"><span class="hs-identifier hs-type">TestClientModel</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Client"><span class="hs-identifier hs-type">Client</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span>
</span><span id="line-260"></span><span id="testClientModel"><span class="annot"><span class="annottext">testClientModel :: Client
-&gt; OpenAPIPetstoreRequest TestClientModel MimeJSON Client MimeJSON
</span><a href="OpenAPIPetstore.API.Fake.html#testClientModel"><span class="hs-identifier hs-var hs-var">testClientModel</span></a></span></span><span> </span><span id="local-6989586621679152462"><span class="annot"><span class="annottext">Client
</span><a href="#local-6989586621679152462"><span class="hs-identifier hs-var">body</span></a></span></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-261"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest TestClientModel MimeJSON Client MimeJSON
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;PATCH&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-262"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestClientModel MimeJSON Client MimeJSON
-&gt; Client
-&gt; OpenAPIPetstoreRequest TestClientModel MimeJSON Client MimeJSON
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =&gt;
OpenAPIPetstoreRequest req contentType res accept
-&gt; param -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#setBodyParam"><span class="hs-operator hs-var">`setBodyParam`</span></a></span><span> </span><span class="annot"><span class="annottext">Client
</span><a href="#local-6989586621679152462"><span class="hs-identifier hs-var">body</span></a></span><span>
</span><span id="line-263"></span><span>
</span><span id="line-264"></span><span class="hs-keyword">data</span><span> </span><span id="TestClientModel"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestClientModel"><span class="hs-identifier hs-var">TestClientModel</span></a></span></span><span> </span><span>
</span><span id="line-265"></span><span>
</span><span id="line-266"></span><span class="hs-comment">-- | /Body Param/ &quot;body&quot; - client model</span><span>
</span><span id="line-267"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152460"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasBodyParam"><span class="hs-identifier hs-type">HasBodyParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestClientModel"><span class="hs-identifier hs-type">TestClientModel</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Client"><span class="hs-identifier hs-type">Client</span></a></span></span><span> </span><span>
</span><span id="line-268"></span><span>
</span><span id="line-269"></span><span class="hs-comment">-- | @application/json@</span><span>
</span><span id="line-270"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestClientModel"><span class="hs-identifier hs-type">TestClientModel</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span>
</span><span id="line-271"></span><span>
</span><span id="line-272"></span><span class="hs-comment">-- | @application/json@</span><span>
</span><span id="line-273"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestClientModel"><span class="hs-identifier hs-type">TestClientModel</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span>
</span><span id="line-274"></span><span>
</span><span id="line-275"></span><span>
</span><span id="line-276"></span><span class="hs-comment">-- *** testEndpointParameters</span><span>
</span><span id="line-277"></span><span>
</span><span id="line-278"></span><span class="hs-comment">-- | @POST \/fake@</span><span>
</span><span id="line-279"></span><span class="hs-comment">-- </span><span>
</span><span id="line-280"></span><span class="hs-comment">-- Fake endpoint for testing various parameters  &#20551;&#31471;&#40670;  &#20605;&#12398;&#12456;&#12531;&#12489;&#12509;&#12452;&#12531;&#12488;  &#44032;&#51676; &#50644;&#46300; &#54252;&#51064;&#53944;</span><span>
</span><span id="line-281"></span><span class="hs-comment">-- </span><span>
</span><span id="line-282"></span><span class="hs-comment">-- Fake endpoint for testing various parameters  &#20551;&#31471;&#40670;  &#20605;&#12398;&#12456;&#12531;&#12489;&#12509;&#12452;&#12531;&#12488;  &#44032;&#51676; &#50644;&#46300; &#54252;&#51064;&#53944;</span><span>
</span><span id="line-283"></span><span class="hs-comment">-- </span><span>
</span><span id="line-284"></span><span class="hs-comment">-- AuthMethod: 'AuthBasicHttpBasicTest'</span><span>
</span><span id="line-285"></span><span class="hs-comment">-- </span><span>
</span><span id="line-286"></span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#testEndpointParameters"><span class="hs-identifier hs-type">testEndpointParameters</span></a></span><span>
</span><span id="line-287"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeFormUrlEncoded"><span class="hs-identifier hs-type">MimeFormUrlEncoded</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-288"></span><span>  </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Number"><span class="hs-identifier hs-type">Number</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;number&quot; -  None</span><span>
</span><span id="line-289"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamDouble"><span class="hs-identifier hs-type">ParamDouble</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;double&quot; -  None</span><span>
</span><span id="line-290"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#PatternWithoutDelimiter"><span class="hs-identifier hs-type">PatternWithoutDelimiter</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;patternWithoutDelimiter&quot; -  None</span><span>
</span><span id="line-291"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Byte"><span class="hs-identifier hs-type">Byte</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;byte&quot; -  None</span><span>
</span><span id="line-292"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeFormUrlEncoded"><span class="hs-identifier hs-type">MimeFormUrlEncoded</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#NoContent"><span class="hs-identifier hs-type">NoContent</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-293"></span><span id="testEndpointParameters"><span class="annot"><span class="annottext">testEndpointParameters :: Number
-&gt; ParamDouble
-&gt; PatternWithoutDelimiter
-&gt; Byte
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent
</span><a href="OpenAPIPetstore.API.Fake.html#testEndpointParameters"><span class="hs-identifier hs-var hs-var">testEndpointParameters</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Number"><span class="hs-identifier hs-type">Number</span></a></span><span> </span><span id="local-6989586621679152455"><span class="annot"><span class="annottext">Double
</span><a href="#local-6989586621679152455"><span class="hs-identifier hs-var">number</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamDouble"><span class="hs-identifier hs-type">ParamDouble</span></a></span><span> </span><span id="local-6989586621679152453"><span class="annot"><span class="annottext">Double
</span><a href="#local-6989586621679152453"><span class="hs-identifier hs-var">double</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#PatternWithoutDelimiter"><span class="hs-identifier hs-type">PatternWithoutDelimiter</span></a></span><span> </span><span id="local-6989586621679152451"><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152451"><span class="hs-identifier hs-var">patternWithoutDelimiter</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Byte"><span class="hs-identifier hs-type">Byte</span></a></span><span> </span><span id="local-6989586621679152449"><span class="annot"><span class="annottext">ByteArray
</span><a href="#local-6989586621679152449"><span class="hs-identifier hs-var">byte</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-294"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;POST&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-295"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent
-&gt; Proxy AuthBasicHttpBasicTest
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent
forall authMethod req contentType res accept.
AuthMethod authMethod =&gt;
OpenAPIPetstoreRequest req contentType res accept
-&gt; Proxy authMethod
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_hasAuthType"><span class="hs-operator hs-var">`_hasAuthType`</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Proxy AuthBasicHttpBasicTest
forall k (t :: k). Proxy t
</span><span class="hs-identifier hs-var">P.Proxy</span></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><span class="hs-identifier hs-type">P.Proxy</span></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#AuthBasicHttpBasicTest"><span class="hs-identifier hs-type">AuthBasicHttpBasicTest</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-296"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Double) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;number&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Double
</span><a href="#local-6989586621679152455"><span class="hs-identifier hs-var">number</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-297"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Double) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;double&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Double
</span><a href="#local-6989586621679152453"><span class="hs-identifier hs-var">double</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-298"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Text) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;pattern_without_delimiter&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152451"><span class="hs-identifier hs-var">patternWithoutDelimiter</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-299"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, ByteArray) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;byte&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">ByteArray
</span><a href="#local-6989586621679152449"><span class="hs-identifier hs-var">byte</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-300"></span><span>
</span><span id="line-301"></span><span class="hs-keyword">data</span><span> </span><span id="TestEndpointParameters"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-var">TestEndpointParameters</span></a></span></span><span>  </span><span>
</span><span id="line-302"></span><span>
</span><span id="line-303"></span><span class="hs-comment">-- | /Optional Param/ &quot;integer&quot; - None</span><span>
</span><span id="line-304"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152442"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamInteger"><span class="hs-identifier hs-type">ParamInteger</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-305"></span><span>  </span><span id="local-6989586621679152440"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; ParamInteger
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
</span><a href="OpenAPIPetstore.Core.html#applyOptionalParam"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152438"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152438"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamInteger"><span class="hs-identifier hs-type">ParamInteger</span></a></span><span> </span><span id="local-6989586621679152436"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679152436"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-306"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152438"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Int) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;integer&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679152436"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-307"></span><span>
</span><span id="line-308"></span><span class="hs-comment">-- | /Optional Param/ &quot;int32&quot; - None</span><span>
</span><span id="line-309"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152433"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-310"></span><span>  </span><span id="local-6989586621679152432"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Int32
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152432"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152431"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152431"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Int32"><span class="hs-identifier hs-type">Int32</span></a></span><span> </span><span id="local-6989586621679152429"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679152429"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-311"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152431"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Int) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;int32&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679152429"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-312"></span><span>
</span><span id="line-313"></span><span class="hs-comment">-- | /Optional Param/ &quot;int64&quot; - None</span><span>
</span><span id="line-314"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152426"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-315"></span><span>  </span><span id="local-6989586621679152425"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Int64
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152425"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152424"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152424"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Int64"><span class="hs-identifier hs-type">Int64</span></a></span><span> </span><span id="local-6989586621679152422"><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679152422"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-316"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152424"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Integer) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;int64&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679152422"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-317"></span><span>
</span><span id="line-318"></span><span class="hs-comment">-- | /Optional Param/ &quot;float&quot; - None</span><span>
</span><span id="line-319"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152419"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamFloat"><span class="hs-identifier hs-type">ParamFloat</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-320"></span><span>  </span><span id="local-6989586621679152418"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; ParamFloat
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152418"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152417"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152417"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamFloat"><span class="hs-identifier hs-type">ParamFloat</span></a></span><span> </span><span id="local-6989586621679152415"><span class="annot"><span class="annottext">Float
</span><a href="#local-6989586621679152415"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-321"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152417"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Float) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;float&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Float
</span><a href="#local-6989586621679152415"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-322"></span><span>
</span><span id="line-323"></span><span class="hs-comment">-- | /Optional Param/ &quot;string&quot; - None</span><span>
</span><span id="line-324"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152412"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamString"><span class="hs-identifier hs-type">ParamString</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-325"></span><span>  </span><span id="local-6989586621679152411"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; ParamString
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152411"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152410"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152410"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamString"><span class="hs-identifier hs-type">ParamString</span></a></span><span> </span><span id="local-6989586621679152408"><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152408"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-326"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152410"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Text) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;string&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152408"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-327"></span><span>
</span><span id="line-328"></span><span class="hs-comment">-- | /Optional Param/ &quot;binary&quot; - None</span><span>
</span><span id="line-329"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152405"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamBinary"><span class="hs-identifier hs-type">ParamBinary</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-330"></span><span>  </span><span id="local-6989586621679152404"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; ParamBinary
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152404"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152403"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152403"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamBinary"><span class="hs-identifier hs-type">ParamBinary</span></a></span><span> </span><span id="local-6989586621679152401"><span class="annot"><span class="annottext">FilePath
</span><a href="#local-6989586621679152401"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-331"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152403"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Part
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Part -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_addMultiFormPart"><span class="hs-operator hs-var">`_addMultiFormPart`</span></a></span><span> </span><span class="annot"><span class="annottext">Text -&gt; FilePath -&gt; Part
</span><span class="hs-identifier hs-var">NH.partFileSource</span></span><span> </span><span class="annot"><span class="annottext">Text
</span><span class="hs-string">&quot;binary&quot;</span></span><span> </span><span class="annot"><span class="annottext">FilePath
</span><a href="#local-6989586621679152401"><span class="hs-identifier hs-var">xs</span></a></span><span>
</span><span id="line-332"></span><span>
</span><span id="line-333"></span><span class="hs-comment">-- | /Optional Param/ &quot;date&quot; - None</span><span>
</span><span id="line-334"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152396"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamDate"><span class="hs-identifier hs-type">ParamDate</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-335"></span><span>  </span><span id="local-6989586621679152395"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; ParamDate
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152395"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152394"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152394"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamDate"><span class="hs-identifier hs-type">ParamDate</span></a></span><span> </span><span id="local-6989586621679152392"><span class="annot"><span class="annottext">Date
</span><a href="#local-6989586621679152392"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-336"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152394"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Date) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;date&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Date
</span><a href="#local-6989586621679152392"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-337"></span><span>
</span><span id="line-338"></span><span class="hs-comment">-- | /Optional Param/ &quot;dateTime&quot; - None</span><span>
</span><span id="line-339"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152389"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamDateTime"><span class="hs-identifier hs-type">ParamDateTime</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-340"></span><span>  </span><span id="local-6989586621679152388"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; ParamDateTime
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152388"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152387"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152387"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamDateTime"><span class="hs-identifier hs-type">ParamDateTime</span></a></span><span> </span><span id="local-6989586621679152385"><span class="annot"><span class="annottext">DateTime
</span><a href="#local-6989586621679152385"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-341"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152387"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, DateTime) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;dateTime&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">DateTime
</span><a href="#local-6989586621679152385"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-342"></span><span>
</span><span id="line-343"></span><span class="hs-comment">-- | /Optional Param/ &quot;password&quot; - None</span><span>
</span><span id="line-344"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152382"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Password"><span class="hs-identifier hs-type">Password</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-345"></span><span>  </span><span id="local-6989586621679152381"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Password
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152381"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152380"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152380"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Password"><span class="hs-identifier hs-type">Password</span></a></span><span> </span><span id="local-6989586621679152378"><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152378"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-346"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152380"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Text) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;password&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152378"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-347"></span><span>
</span><span id="line-348"></span><span class="hs-comment">-- | /Optional Param/ &quot;callback&quot; - None</span><span>
</span><span id="line-349"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152375"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Callback"><span class="hs-identifier hs-type">Callback</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-350"></span><span>  </span><span id="local-6989586621679152374"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Callback
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152374"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152373"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152373"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Callback"><span class="hs-identifier hs-type">Callback</span></a></span><span> </span><span id="local-6989586621679152371"><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152371"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-351"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
</span><a href="#local-6989586621679152373"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestEndpointParameters contentType res accept
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestEndpointParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Text) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;callback&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152371"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-352"></span><span>
</span><span id="line-353"></span><span class="hs-comment">-- | @application/x-www-form-urlencoded@</span><span>
</span><span id="line-354"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeFormUrlEncoded"><span class="hs-identifier hs-type">MimeFormUrlEncoded</span></a></span><span>
</span><span id="line-355"></span><span>
</span><span id="line-356"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEndpointParameters"><span class="hs-identifier hs-type">TestEndpointParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-357"></span><span>
</span><span id="line-358"></span><span>
</span><span id="line-359"></span><span class="hs-comment">-- *** testEnumParameters</span><span>
</span><span id="line-360"></span><span>
</span><span id="line-361"></span><span class="hs-comment">-- | @GET \/fake@</span><span>
</span><span id="line-362"></span><span class="hs-comment">-- </span><span>
</span><span id="line-363"></span><span class="hs-comment">-- To test enum parameters</span><span>
</span><span id="line-364"></span><span class="hs-comment">-- </span><span>
</span><span id="line-365"></span><span class="hs-comment">-- To test enum parameters</span><span>
</span><span id="line-366"></span><span class="hs-comment">-- </span><span>
</span><span id="line-367"></span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#testEnumParameters"><span class="hs-identifier hs-type">testEnumParameters</span></a></span><span>
</span><span id="line-368"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEnumParameters"><span class="hs-identifier hs-type">TestEnumParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeFormUrlEncoded"><span class="hs-identifier hs-type">MimeFormUrlEncoded</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-369"></span><span>  </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEnumParameters"><span class="hs-identifier hs-type">TestEnumParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeFormUrlEncoded"><span class="hs-identifier hs-type">MimeFormUrlEncoded</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#NoContent"><span class="hs-identifier hs-type">NoContent</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-370"></span><span id="testEnumParameters"><span class="annot"><span class="annottext">testEnumParameters :: OpenAPIPetstoreRequest
  TestEnumParameters MimeFormUrlEncoded NoContent MimeNoContent
</span><a href="OpenAPIPetstore.API.Fake.html#testEnumParameters"><span class="hs-identifier hs-var hs-var">testEnumParameters</span></a></span></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-371"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest
     TestEnumParameters MimeFormUrlEncoded NoContent MimeNoContent
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;GET&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-372"></span><span>
</span><span id="line-373"></span><span class="hs-keyword">data</span><span> </span><span id="TestEnumParameters"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEnumParameters"><span class="hs-identifier hs-var">TestEnumParameters</span></a></span></span><span>  </span><span>
</span><span id="line-374"></span><span>
</span><span id="line-375"></span><span class="hs-comment">-- | /Optional Param/ &quot;enum_form_string_array&quot; - Form parameter enum test (string array)</span><span>
</span><span id="line-376"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152365"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEnumParameters"><span class="hs-identifier hs-type">TestEnumParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumFormStringArray"><span class="hs-identifier hs-type">EnumFormStringArray</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-377"></span><span>  </span><span id="local-6989586621679152364"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; EnumFormStringArray
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152364"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152363"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152363"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumFormStringArray"><span class="hs-identifier hs-type">EnumFormStringArray</span></a></span><span> </span><span id="local-6989586621679152361"><span class="annot"><span class="annottext">[E'EnumFormStringArray]
</span><a href="#local-6989586621679152361"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-378"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152363"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; Form
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat -&gt; (Method, [E'EnumFormStringArray]) -&gt; Form
forall v.
ToHttpApiData v =&gt;
CollectionFormat -&gt; (Method, [v]) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toFormColl"><span class="hs-identifier hs-var">toFormColl</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat
</span><a href="OpenAPIPetstore.Core.html#CommaSeparated"><span class="hs-identifier hs-var">CommaSeparated</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;enum_form_string_array&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">[E'EnumFormStringArray]
</span><a href="#local-6989586621679152361"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-379"></span><span>
</span><span id="line-380"></span><span class="hs-comment">-- | /Optional Param/ &quot;enum_form_string&quot; - Form parameter enum test (string)</span><span>
</span><span id="line-381"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152356"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEnumParameters"><span class="hs-identifier hs-type">TestEnumParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumFormString"><span class="hs-identifier hs-type">EnumFormString</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-382"></span><span>  </span><span id="local-6989586621679152355"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; EnumFormString
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152355"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152354"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152354"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumFormString"><span class="hs-identifier hs-type">EnumFormString</span></a></span><span> </span><span id="local-6989586621679152352"><span class="annot"><span class="annottext">E'EnumFormString
</span><a href="#local-6989586621679152352"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-383"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152354"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; Form
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, E'EnumFormString) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;enum_form_string&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">E'EnumFormString
</span><a href="#local-6989586621679152352"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-384"></span><span>
</span><span id="line-385"></span><span class="hs-comment">-- | /Optional Param/ &quot;enum_header_string_array&quot; - Header parameter enum test (string array)</span><span>
</span><span id="line-386"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152349"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEnumParameters"><span class="hs-identifier hs-type">TestEnumParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumHeaderStringArray"><span class="hs-identifier hs-type">EnumHeaderStringArray</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-387"></span><span>  </span><span id="local-6989586621679152348"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; EnumHeaderStringArray
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152348"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152347"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152347"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumHeaderStringArray"><span class="hs-identifier hs-type">EnumHeaderStringArray</span></a></span><span> </span><span id="local-6989586621679152345"><span class="annot"><span class="annottext">[E'EnumFormStringArray]
</span><a href="#local-6989586621679152345"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-388"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152347"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; [Header]
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [Header] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addHeader"><span class="hs-operator hs-var">`addHeader`</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat
-&gt; (HeaderName, [E'EnumFormStringArray]) -&gt; [Header]
forall a.
ToHttpApiData a =&gt;
CollectionFormat -&gt; (HeaderName, [a]) -&gt; [Header]
</span><a href="OpenAPIPetstore.Core.html#toHeaderColl"><span class="hs-identifier hs-var">toHeaderColl</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat
</span><a href="OpenAPIPetstore.Core.html#CommaSeparated"><span class="hs-identifier hs-var">CommaSeparated</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">HeaderName
</span><span class="hs-string">&quot;enum_header_string_array&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">[E'EnumFormStringArray]
</span><a href="#local-6989586621679152345"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-389"></span><span>
</span><span id="line-390"></span><span class="hs-comment">-- | /Optional Param/ &quot;enum_header_string&quot; - Header parameter enum test (string)</span><span>
</span><span id="line-391"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152340"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEnumParameters"><span class="hs-identifier hs-type">TestEnumParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumHeaderString"><span class="hs-identifier hs-type">EnumHeaderString</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-392"></span><span>  </span><span id="local-6989586621679152339"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; EnumHeaderString
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152339"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152338"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152338"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumHeaderString"><span class="hs-identifier hs-type">EnumHeaderString</span></a></span><span> </span><span id="local-6989586621679152336"><span class="annot"><span class="annottext">E'EnumFormString
</span><a href="#local-6989586621679152336"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-393"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152338"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; [Header]
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [Header] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addHeader"><span class="hs-operator hs-var">`addHeader`</span></a></span><span> </span><span class="annot"><span class="annottext">(HeaderName, E'EnumFormString) -&gt; [Header]
forall a. ToHttpApiData a =&gt; (HeaderName, a) -&gt; [Header]
</span><a href="OpenAPIPetstore.Core.html#toHeader"><span class="hs-identifier hs-var">toHeader</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">HeaderName
</span><span class="hs-string">&quot;enum_header_string&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">E'EnumFormString
</span><a href="#local-6989586621679152336"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-394"></span><span>
</span><span id="line-395"></span><span class="hs-comment">-- | /Optional Param/ &quot;enum_query_string_array&quot; - Query parameter enum test (string array)</span><span>
</span><span id="line-396"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152332"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEnumParameters"><span class="hs-identifier hs-type">TestEnumParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumQueryStringArray"><span class="hs-identifier hs-type">EnumQueryStringArray</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-397"></span><span>  </span><span id="local-6989586621679152331"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; EnumQueryStringArray
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152331"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152330"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152330"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumQueryStringArray"><span class="hs-identifier hs-type">EnumQueryStringArray</span></a></span><span> </span><span id="local-6989586621679152328"><span class="annot"><span class="annottext">[E'EnumFormStringArray]
</span><a href="#local-6989586621679152328"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-398"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152330"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat
-&gt; (Method, Maybe [E'EnumFormStringArray]) -&gt; [QueryItem]
forall a.
ToHttpApiData a =&gt;
CollectionFormat -&gt; (Method, Maybe [a]) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQueryColl"><span class="hs-identifier hs-var">toQueryColl</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat
</span><a href="OpenAPIPetstore.Core.html#CommaSeparated"><span class="hs-identifier hs-var">CommaSeparated</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;enum_query_string_array&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">[E'EnumFormStringArray] -&gt; Maybe [E'EnumFormStringArray]
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">[E'EnumFormStringArray]
</span><a href="#local-6989586621679152328"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-399"></span><span>
</span><span id="line-400"></span><span class="hs-comment">-- | /Optional Param/ &quot;enum_query_string&quot; - Query parameter enum test (string)</span><span>
</span><span id="line-401"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152324"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEnumParameters"><span class="hs-identifier hs-type">TestEnumParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumQueryString"><span class="hs-identifier hs-type">EnumQueryString</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-402"></span><span>  </span><span id="local-6989586621679152323"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; EnumQueryString
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152323"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152322"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152322"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumQueryString"><span class="hs-identifier hs-type">EnumQueryString</span></a></span><span> </span><span id="local-6989586621679152320"><span class="annot"><span class="annottext">E'EnumFormString
</span><a href="#local-6989586621679152320"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-403"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152322"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Maybe E'EnumFormString) -&gt; [QueryItem]
forall a. ToHttpApiData a =&gt; (Method, Maybe a) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQuery"><span class="hs-identifier hs-var">toQuery</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;enum_query_string&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">E'EnumFormString -&gt; Maybe E'EnumFormString
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">E'EnumFormString
</span><a href="#local-6989586621679152320"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-404"></span><span>
</span><span id="line-405"></span><span class="hs-comment">-- | /Optional Param/ &quot;enum_query_integer&quot; - Query parameter enum test (double)</span><span>
</span><span id="line-406"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152317"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEnumParameters"><span class="hs-identifier hs-type">TestEnumParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumQueryInteger"><span class="hs-identifier hs-type">EnumQueryInteger</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-407"></span><span>  </span><span id="local-6989586621679152316"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; EnumQueryInteger
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152316"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152315"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152315"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumQueryInteger"><span class="hs-identifier hs-type">EnumQueryInteger</span></a></span><span> </span><span id="local-6989586621679152313"><span class="annot"><span class="annottext">E'EnumQueryInteger
</span><a href="#local-6989586621679152313"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-408"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152315"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Maybe E'EnumQueryInteger) -&gt; [QueryItem]
forall a. ToHttpApiData a =&gt; (Method, Maybe a) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQuery"><span class="hs-identifier hs-var">toQuery</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;enum_query_integer&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">E'EnumQueryInteger -&gt; Maybe E'EnumQueryInteger
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">E'EnumQueryInteger
</span><a href="#local-6989586621679152313"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-409"></span><span>
</span><span id="line-410"></span><span class="hs-comment">-- | /Optional Param/ &quot;enum_query_double&quot; - Query parameter enum test (double)</span><span>
</span><span id="line-411"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152310"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEnumParameters"><span class="hs-identifier hs-type">TestEnumParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumQueryDouble"><span class="hs-identifier hs-type">EnumQueryDouble</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-412"></span><span>  </span><span id="local-6989586621679152309"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; EnumQueryDouble
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152309"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152308"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152308"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#EnumQueryDouble"><span class="hs-identifier hs-type">EnumQueryDouble</span></a></span><span> </span><span id="local-6989586621679152306"><span class="annot"><span class="annottext">E'EnumNumber
</span><a href="#local-6989586621679152306"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-413"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
</span><a href="#local-6989586621679152308"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestEnumParameters contentType res accept
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest TestEnumParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Maybe E'EnumNumber) -&gt; [QueryItem]
forall a. ToHttpApiData a =&gt; (Method, Maybe a) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQuery"><span class="hs-identifier hs-var">toQuery</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;enum_query_double&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">E'EnumNumber -&gt; Maybe E'EnumNumber
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">E'EnumNumber
</span><a href="#local-6989586621679152306"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-414"></span><span>
</span><span id="line-415"></span><span class="hs-comment">-- | @application/x-www-form-urlencoded@</span><span>
</span><span id="line-416"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEnumParameters"><span class="hs-identifier hs-type">TestEnumParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeFormUrlEncoded"><span class="hs-identifier hs-type">MimeFormUrlEncoded</span></a></span><span>
</span><span id="line-417"></span><span>
</span><span id="line-418"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestEnumParameters"><span class="hs-identifier hs-type">TestEnumParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-419"></span><span>
</span><span id="line-420"></span><span>
</span><span id="line-421"></span><span class="hs-comment">-- *** testGroupParameters</span><span>
</span><span id="line-422"></span><span>
</span><span id="line-423"></span><span class="hs-comment">-- | @DELETE \/fake@</span><span>
</span><span id="line-424"></span><span class="hs-comment">-- </span><span>
</span><span id="line-425"></span><span class="hs-comment">-- Fake endpoint to test group parameters (optional)</span><span>
</span><span id="line-426"></span><span class="hs-comment">-- </span><span>
</span><span id="line-427"></span><span class="hs-comment">-- Fake endpoint to test group parameters (optional)</span><span>
</span><span id="line-428"></span><span class="hs-comment">-- </span><span>
</span><span id="line-429"></span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#testGroupParameters"><span class="hs-identifier hs-type">testGroupParameters</span></a></span><span>
</span><span id="line-430"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#RequiredStringGroup"><span class="hs-identifier hs-type">RequiredStringGroup</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;requiredStringGroup&quot; -  Required String in group parameters</span><span>
</span><span id="line-431"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#RequiredBooleanGroup"><span class="hs-identifier hs-type">RequiredBooleanGroup</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;requiredBooleanGroup&quot; -  Required Boolean in group parameters</span><span>
</span><span id="line-432"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#RequiredInt64Group"><span class="hs-identifier hs-type">RequiredInt64Group</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;requiredInt64Group&quot; -  Required Integer in group parameters</span><span>
</span><span id="line-433"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestGroupParameters"><span class="hs-identifier hs-type">TestGroupParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#NoContent"><span class="hs-identifier hs-type">NoContent</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-434"></span><span id="testGroupParameters"><span class="annot"><span class="annottext">testGroupParameters :: RequiredStringGroup
-&gt; RequiredBooleanGroup
-&gt; RequiredInt64Group
-&gt; OpenAPIPetstoreRequest
     TestGroupParameters MimeNoContent NoContent MimeNoContent
</span><a href="OpenAPIPetstore.API.Fake.html#testGroupParameters"><span class="hs-identifier hs-var hs-var">testGroupParameters</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#RequiredStringGroup"><span class="hs-identifier hs-type">RequiredStringGroup</span></a></span><span> </span><span id="local-6989586621679152301"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679152301"><span class="hs-identifier hs-var">requiredStringGroup</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#RequiredBooleanGroup"><span class="hs-identifier hs-type">RequiredBooleanGroup</span></a></span><span> </span><span id="local-6989586621679152299"><span class="annot"><span class="annottext">Bool
</span><a href="#local-6989586621679152299"><span class="hs-identifier hs-var">requiredBooleanGroup</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#RequiredInt64Group"><span class="hs-identifier hs-type">RequiredInt64Group</span></a></span><span> </span><span id="local-6989586621679152297"><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679152297"><span class="hs-identifier hs-var">requiredInt64Group</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-435"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest
     TestGroupParameters MimeNoContent NoContent MimeNoContent
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;DELETE&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-436"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestGroupParameters MimeNoContent NoContent MimeNoContent
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest
     TestGroupParameters MimeNoContent NoContent MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Maybe Int) -&gt; [QueryItem]
forall a. ToHttpApiData a =&gt; (Method, Maybe a) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQuery"><span class="hs-identifier hs-var">toQuery</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;required_string_group&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Maybe Int
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679152301"><span class="hs-identifier hs-var">requiredStringGroup</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-437"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestGroupParameters MimeNoContent NoContent MimeNoContent
-&gt; [Header]
-&gt; OpenAPIPetstoreRequest
     TestGroupParameters MimeNoContent NoContent MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [Header] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addHeader"><span class="hs-operator hs-var">`addHeader`</span></a></span><span> </span><span class="annot"><span class="annottext">(HeaderName, Bool) -&gt; [Header]
forall a. ToHttpApiData a =&gt; (HeaderName, a) -&gt; [Header]
</span><a href="OpenAPIPetstore.Core.html#toHeader"><span class="hs-identifier hs-var">toHeader</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">HeaderName
</span><span class="hs-string">&quot;required_boolean_group&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="#local-6989586621679152299"><span class="hs-identifier hs-var">requiredBooleanGroup</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-438"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestGroupParameters MimeNoContent NoContent MimeNoContent
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest
     TestGroupParameters MimeNoContent NoContent MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Maybe Integer) -&gt; [QueryItem]
forall a. ToHttpApiData a =&gt; (Method, Maybe a) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQuery"><span class="hs-identifier hs-var">toQuery</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;required_int64_group&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Integer -&gt; Maybe Integer
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679152297"><span class="hs-identifier hs-var">requiredInt64Group</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-439"></span><span>
</span><span id="line-440"></span><span class="hs-keyword">data</span><span> </span><span id="TestGroupParameters"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestGroupParameters"><span class="hs-identifier hs-var">TestGroupParameters</span></a></span></span><span>  </span><span>
</span><span id="line-441"></span><span>
</span><span id="line-442"></span><span class="hs-comment">-- | /Optional Param/ &quot;string_group&quot; - String in group parameters</span><span>
</span><span id="line-443"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152294"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestGroupParameters"><span class="hs-identifier hs-type">TestGroupParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#StringGroup"><span class="hs-identifier hs-type">StringGroup</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-444"></span><span>  </span><span id="local-6989586621679152293"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest TestGroupParameters contentType res accept
-&gt; StringGroup
-&gt; OpenAPIPetstoreRequest
     TestGroupParameters contentType res accept
</span><a href="#local-6989586621679152293"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152292"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestGroupParameters contentType res accept
</span><a href="#local-6989586621679152292"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#StringGroup"><span class="hs-identifier hs-type">StringGroup</span></a></span><span> </span><span id="local-6989586621679152290"><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679152290"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-445"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestGroupParameters contentType res accept
</span><a href="#local-6989586621679152292"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestGroupParameters contentType res accept
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest
     TestGroupParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Maybe Int) -&gt; [QueryItem]
forall a. ToHttpApiData a =&gt; (Method, Maybe a) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQuery"><span class="hs-identifier hs-var">toQuery</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;string_group&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Int -&gt; Maybe Int
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">Int
</span><a href="#local-6989586621679152290"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-446"></span><span>
</span><span id="line-447"></span><span class="hs-comment">-- | /Optional Param/ &quot;boolean_group&quot; - Boolean in group parameters</span><span>
</span><span id="line-448"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152287"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestGroupParameters"><span class="hs-identifier hs-type">TestGroupParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#BooleanGroup"><span class="hs-identifier hs-type">BooleanGroup</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-449"></span><span>  </span><span id="local-6989586621679152286"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest TestGroupParameters contentType res accept
-&gt; BooleanGroup
-&gt; OpenAPIPetstoreRequest
     TestGroupParameters contentType res accept
</span><a href="#local-6989586621679152286"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152285"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestGroupParameters contentType res accept
</span><a href="#local-6989586621679152285"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#BooleanGroup"><span class="hs-identifier hs-type">BooleanGroup</span></a></span><span> </span><span id="local-6989586621679152283"><span class="annot"><span class="annottext">Bool
</span><a href="#local-6989586621679152283"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-450"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestGroupParameters contentType res accept
</span><a href="#local-6989586621679152285"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestGroupParameters contentType res accept
-&gt; [Header]
-&gt; OpenAPIPetstoreRequest
     TestGroupParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [Header] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addHeader"><span class="hs-operator hs-var">`addHeader`</span></a></span><span> </span><span class="annot"><span class="annottext">(HeaderName, Bool) -&gt; [Header]
forall a. ToHttpApiData a =&gt; (HeaderName, a) -&gt; [Header]
</span><a href="OpenAPIPetstore.Core.html#toHeader"><span class="hs-identifier hs-var">toHeader</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">HeaderName
</span><span class="hs-string">&quot;boolean_group&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Bool
</span><a href="#local-6989586621679152283"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-451"></span><span>
</span><span id="line-452"></span><span class="hs-comment">-- | /Optional Param/ &quot;int64_group&quot; - Integer in group parameters</span><span>
</span><span id="line-453"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152280"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasOptionalParam"><span class="hs-identifier hs-type">HasOptionalParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestGroupParameters"><span class="hs-identifier hs-type">TestGroupParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Int64Group"><span class="hs-identifier hs-type">Int64Group</span></a></span></span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-454"></span><span>  </span><span id="local-6989586621679152279"><span class="annot"><span class="annottext">applyOptionalParam :: OpenAPIPetstoreRequest TestGroupParameters contentType res accept
-&gt; Int64Group
-&gt; OpenAPIPetstoreRequest
     TestGroupParameters contentType res accept
</span><a href="#local-6989586621679152279"><span class="hs-identifier hs-var hs-var hs-var hs-var">applyOptionalParam</span></a></span></span><span> </span><span id="local-6989586621679152278"><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestGroupParameters contentType res accept
</span><a href="#local-6989586621679152278"><span class="hs-identifier hs-var">req</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Int64Group"><span class="hs-identifier hs-type">Int64Group</span></a></span><span> </span><span id="local-6989586621679152276"><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679152276"><span class="hs-identifier hs-var">xs</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-455"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestGroupParameters contentType res accept
</span><a href="#local-6989586621679152278"><span class="hs-identifier hs-var">req</span></a></span><span> </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest TestGroupParameters contentType res accept
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest
     TestGroupParameters contentType res accept
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Maybe Integer) -&gt; [QueryItem]
forall a. ToHttpApiData a =&gt; (Method, Maybe a) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQuery"><span class="hs-identifier hs-var">toQuery</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;int64_group&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Integer -&gt; Maybe Integer
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">Integer
</span><a href="#local-6989586621679152276"><span class="hs-identifier hs-var">xs</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-456"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestGroupParameters"><span class="hs-identifier hs-type">TestGroupParameters</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-457"></span><span>
</span><span id="line-458"></span><span>
</span><span id="line-459"></span><span class="hs-comment">-- *** testInlineAdditionalProperties</span><span>
</span><span id="line-460"></span><span>
</span><span id="line-461"></span><span class="hs-comment">-- | @POST \/fake\/inline-additionalProperties@</span><span>
</span><span id="line-462"></span><span class="hs-comment">-- </span><span>
</span><span id="line-463"></span><span class="hs-comment">-- test inline additionalProperties</span><span>
</span><span id="line-464"></span><span class="hs-comment">-- </span><span>
</span><span id="line-465"></span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#testInlineAdditionalProperties"><span class="hs-identifier hs-type">testInlineAdditionalProperties</span></a></span><span>
</span><span id="line-466"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestInlineAdditionalProperties"><span class="hs-identifier hs-type">TestInlineAdditionalProperties</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span class="hs-special">,</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeRender"><span class="hs-identifier hs-type">MimeRender</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamMapMapStringText"><span class="hs-identifier hs-type">ParamMapMapStringText</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-467"></span><span>  </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamMapMapStringText"><span class="hs-identifier hs-type">ParamMapMapStringText</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;param&quot; -  request body</span><span>
</span><span id="line-468"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestInlineAdditionalProperties"><span class="hs-identifier hs-type">TestInlineAdditionalProperties</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#NoContent"><span class="hs-identifier hs-type">NoContent</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-469"></span><span id="testInlineAdditionalProperties"><span class="annot"><span class="annottext">testInlineAdditionalProperties :: ParamMapMapStringText
-&gt; OpenAPIPetstoreRequest
     TestInlineAdditionalProperties MimeJSON NoContent MimeNoContent
</span><a href="OpenAPIPetstore.API.Fake.html#testInlineAdditionalProperties"><span class="hs-identifier hs-var hs-var">testInlineAdditionalProperties</span></a></span></span><span> </span><span id="local-6989586621679152273"><span class="annot"><span class="annottext">ParamMapMapStringText
</span><a href="#local-6989586621679152273"><span class="hs-identifier hs-var">param</span></a></span></span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-470"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest
     TestInlineAdditionalProperties MimeJSON NoContent MimeNoContent
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;POST&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake/inline-additionalProperties&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-471"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestInlineAdditionalProperties MimeJSON NoContent MimeNoContent
-&gt; ParamMapMapStringText
-&gt; OpenAPIPetstoreRequest
     TestInlineAdditionalProperties MimeJSON NoContent MimeNoContent
forall req param contentType res accept.
(HasBodyParam req param, Consumes req contentType,
 MimeRender contentType param) =&gt;
OpenAPIPetstoreRequest req contentType res accept
-&gt; param -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#setBodyParam"><span class="hs-operator hs-var">`setBodyParam`</span></a></span><span> </span><span class="annot"><span class="annottext">ParamMapMapStringText
</span><a href="#local-6989586621679152273"><span class="hs-identifier hs-var">param</span></a></span><span>
</span><span id="line-472"></span><span>
</span><span id="line-473"></span><span class="hs-keyword">data</span><span> </span><span id="TestInlineAdditionalProperties"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestInlineAdditionalProperties"><span class="hs-identifier hs-var">TestInlineAdditionalProperties</span></a></span></span><span> </span><span>
</span><span id="line-474"></span><span>
</span><span id="line-475"></span><span class="hs-comment">-- | /Body Param/ &quot;param&quot; - request body</span><span>
</span><span id="line-476"></span><span class="hs-keyword">instance</span><span> </span><span id="local-6989586621679152271"><span class="annot"><a href="OpenAPIPetstore.Core.html#HasBodyParam"><span class="hs-identifier hs-type">HasBodyParam</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestInlineAdditionalProperties"><span class="hs-identifier hs-type">TestInlineAdditionalProperties</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#ParamMapMapStringText"><span class="hs-identifier hs-type">ParamMapMapStringText</span></a></span></span><span> </span><span>
</span><span id="line-477"></span><span>
</span><span id="line-478"></span><span class="hs-comment">-- | @application/json@</span><span>
</span><span id="line-479"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestInlineAdditionalProperties"><span class="hs-identifier hs-type">TestInlineAdditionalProperties</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeJSON"><span class="hs-identifier hs-type">MimeJSON</span></a></span><span>
</span><span id="line-480"></span><span>
</span><span id="line-481"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestInlineAdditionalProperties"><span class="hs-identifier hs-type">TestInlineAdditionalProperties</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-482"></span><span>
</span><span id="line-483"></span><span>
</span><span id="line-484"></span><span class="hs-comment">-- *** testJsonFormData</span><span>
</span><span id="line-485"></span><span>
</span><span id="line-486"></span><span class="hs-comment">-- | @GET \/fake\/jsonFormData@</span><span>
</span><span id="line-487"></span><span class="hs-comment">-- </span><span>
</span><span id="line-488"></span><span class="hs-comment">-- test json serialization of form data</span><span>
</span><span id="line-489"></span><span class="hs-comment">-- </span><span>
</span><span id="line-490"></span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#testJsonFormData"><span class="hs-identifier hs-type">testJsonFormData</span></a></span><span>
</span><span id="line-491"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestJsonFormData"><span class="hs-identifier hs-type">TestJsonFormData</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeFormUrlEncoded"><span class="hs-identifier hs-type">MimeFormUrlEncoded</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-492"></span><span>  </span><span class="hs-glyph">=&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Param"><span class="hs-identifier hs-type">Param</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;param&quot; -  field1</span><span>
</span><span id="line-493"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Param2"><span class="hs-identifier hs-type">Param2</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;param2&quot; -  field2</span><span>
</span><span id="line-494"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestJsonFormData"><span class="hs-identifier hs-type">TestJsonFormData</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeFormUrlEncoded"><span class="hs-identifier hs-type">MimeFormUrlEncoded</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#NoContent"><span class="hs-identifier hs-type">NoContent</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-495"></span><span id="testJsonFormData"><span class="annot"><span class="annottext">testJsonFormData :: Param
-&gt; Param2
-&gt; OpenAPIPetstoreRequest
     TestJsonFormData MimeFormUrlEncoded NoContent MimeNoContent
</span><a href="OpenAPIPetstore.API.Fake.html#testJsonFormData"><span class="hs-identifier hs-var hs-var">testJsonFormData</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Param"><span class="hs-identifier hs-type">Param</span></a></span><span> </span><span id="local-6989586621679152266"><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152266"><span class="hs-identifier hs-var">param</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Param2"><span class="hs-identifier hs-type">Param2</span></a></span><span> </span><span id="local-6989586621679152264"><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152264"><span class="hs-identifier hs-var">param2</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-496"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest
     TestJsonFormData MimeFormUrlEncoded NoContent MimeNoContent
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;GET&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake/jsonFormData&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-497"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestJsonFormData MimeFormUrlEncoded NoContent MimeNoContent
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestJsonFormData MimeFormUrlEncoded NoContent MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Text) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;param&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152266"><span class="hs-identifier hs-var">param</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-498"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestJsonFormData MimeFormUrlEncoded NoContent MimeNoContent
-&gt; Form
-&gt; OpenAPIPetstoreRequest
     TestJsonFormData MimeFormUrlEncoded NoContent MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; Form -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addForm"><span class="hs-operator hs-var">`addForm`</span></a></span><span> </span><span class="annot"><span class="annottext">(Method, Text) -&gt; Form
forall v. ToHttpApiData v =&gt; (Method, v) -&gt; Form
</span><a href="OpenAPIPetstore.Core.html#toForm"><span class="hs-identifier hs-var">toForm</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;param2&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">Text
</span><a href="#local-6989586621679152264"><span class="hs-identifier hs-var">param2</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-499"></span><span>
</span><span id="line-500"></span><span class="hs-keyword">data</span><span> </span><span id="TestJsonFormData"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestJsonFormData"><span class="hs-identifier hs-var">TestJsonFormData</span></a></span></span><span>  </span><span>
</span><span id="line-501"></span><span>
</span><span id="line-502"></span><span class="hs-comment">-- | @application/x-www-form-urlencoded@</span><span>
</span><span id="line-503"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Consumes"><span class="hs-identifier hs-type">Consumes</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestJsonFormData"><span class="hs-identifier hs-type">TestJsonFormData</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeFormUrlEncoded"><span class="hs-identifier hs-type">MimeFormUrlEncoded</span></a></span><span>
</span><span id="line-504"></span><span>
</span><span id="line-505"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestJsonFormData"><span class="hs-identifier hs-type">TestJsonFormData</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-506"></span><span>
</span><span id="line-507"></span><span>
</span><span id="line-508"></span><span class="hs-comment">-- *** testQueryParameterCollectionFormat</span><span>
</span><span id="line-509"></span><span>
</span><span id="line-510"></span><span class="hs-comment">-- | @PUT \/fake\/test-query-parameters@</span><span>
</span><span id="line-511"></span><span class="hs-comment">-- </span><span>
</span><span id="line-512"></span><span class="hs-comment">-- To test the collection format in query parameters</span><span>
</span><span id="line-513"></span><span class="hs-comment">-- </span><span>
</span><span id="line-514"></span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#testQueryParameterCollectionFormat"><span class="hs-identifier hs-type">testQueryParameterCollectionFormat</span></a></span><span>
</span><span id="line-515"></span><span>  </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Pipe"><span class="hs-identifier hs-type">Pipe</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;pipe&quot;</span><span>
</span><span id="line-516"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Ioutil"><span class="hs-identifier hs-type">Ioutil</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;ioutil&quot;</span><span>
</span><span id="line-517"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Http"><span class="hs-identifier hs-type">Http</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;http&quot;</span><span>
</span><span id="line-518"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Url"><span class="hs-identifier hs-type">Url</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;url&quot;</span><span>
</span><span id="line-519"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Model.html#Context"><span class="hs-identifier hs-type">Context</span></a></span><span> </span><span class="hs-comment">-- ^ &quot;context&quot;</span><span>
</span><span id="line-520"></span><span>  </span><span class="hs-glyph">-&gt;</span><span> </span><span class="annot"><a href="OpenAPIPetstore.Core.html#OpenAPIPetstoreRequest"><span class="hs-identifier hs-type">OpenAPIPetstoreRequest</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestQueryParameterCollectionFormat"><span class="hs-identifier hs-type">TestQueryParameterCollectionFormat</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#NoContent"><span class="hs-identifier hs-type">NoContent</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-521"></span><span id="testQueryParameterCollectionFormat"><span class="annot"><span class="annottext">testQueryParameterCollectionFormat :: Pipe
-&gt; Ioutil
-&gt; Http
-&gt; Url
-&gt; Context
-&gt; OpenAPIPetstoreRequest
     TestQueryParameterCollectionFormat
     MimeNoContent
     NoContent
     MimeNoContent
</span><a href="OpenAPIPetstore.API.Fake.html#testQueryParameterCollectionFormat"><span class="hs-identifier hs-var hs-var">testQueryParameterCollectionFormat</span></a></span></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Pipe"><span class="hs-identifier hs-type">Pipe</span></a></span><span> </span><span id="local-6989586621679152259"><span class="annot"><span class="annottext">[Text]
</span><a href="#local-6989586621679152259"><span class="hs-identifier hs-var">pipe</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Ioutil"><span class="hs-identifier hs-type">Ioutil</span></a></span><span> </span><span id="local-6989586621679152257"><span class="annot"><span class="annottext">[Text]
</span><a href="#local-6989586621679152257"><span class="hs-identifier hs-var">ioutil</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Http"><span class="hs-identifier hs-type">Http</span></a></span><span> </span><span id="local-6989586621679152255"><span class="annot"><span class="annottext">[Text]
</span><a href="#local-6989586621679152255"><span class="hs-identifier hs-var">http</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Url"><span class="hs-identifier hs-type">Url</span></a></span><span> </span><span id="local-6989586621679152253"><span class="annot"><span class="annottext">[Text]
</span><a href="#local-6989586621679152253"><span class="hs-identifier hs-var">url</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-special">(</span><span class="annot"><a href="OpenAPIPetstore.Model.html#Context"><span class="hs-identifier hs-type">Context</span></a></span><span> </span><span id="local-6989586621679152251"><span class="annot"><span class="annottext">[Text]
</span><a href="#local-6989586621679152251"><span class="hs-identifier hs-var">context</span></a></span></span><span class="hs-special">)</span><span> </span><span class="hs-glyph">=</span><span>
</span><span id="line-522"></span><span>  </span><span class="annot"><span class="annottext">Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest
     TestQueryParameterCollectionFormat
     MimeNoContent
     NoContent
     MimeNoContent
forall req contentType res accept.
Method
-&gt; [ByteString]
-&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#_mkRequest"><span class="hs-identifier hs-var">_mkRequest</span></a></span><span> </span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;PUT&quot;</span></span><span> </span><span class="hs-special">[</span><span class="annot"><span class="annottext">ByteString
</span><span class="hs-string">&quot;/fake/test-query-parameters&quot;</span></span><span class="hs-special">]</span><span>
</span><span id="line-523"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestQueryParameterCollectionFormat
  MimeNoContent
  NoContent
  MimeNoContent
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest
     TestQueryParameterCollectionFormat
     MimeNoContent
     NoContent
     MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat -&gt; (Method, Maybe [Text]) -&gt; [QueryItem]
forall a.
ToHttpApiData a =&gt;
CollectionFormat -&gt; (Method, Maybe [a]) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQueryColl"><span class="hs-identifier hs-var">toQueryColl</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat
</span><a href="OpenAPIPetstore.Core.html#CommaSeparated"><span class="hs-identifier hs-var">CommaSeparated</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;pipe&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">[Text] -&gt; Maybe [Text]
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">[Text]
</span><a href="#local-6989586621679152259"><span class="hs-identifier hs-var">pipe</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-524"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestQueryParameterCollectionFormat
  MimeNoContent
  NoContent
  MimeNoContent
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest
     TestQueryParameterCollectionFormat
     MimeNoContent
     NoContent
     MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat -&gt; (Method, Maybe [Text]) -&gt; [QueryItem]
forall a.
ToHttpApiData a =&gt;
CollectionFormat -&gt; (Method, Maybe [a]) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQueryColl"><span class="hs-identifier hs-var">toQueryColl</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat
</span><a href="OpenAPIPetstore.Core.html#CommaSeparated"><span class="hs-identifier hs-var">CommaSeparated</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;ioutil&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">[Text] -&gt; Maybe [Text]
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">[Text]
</span><a href="#local-6989586621679152257"><span class="hs-identifier hs-var">ioutil</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-525"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestQueryParameterCollectionFormat
  MimeNoContent
  NoContent
  MimeNoContent
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest
     TestQueryParameterCollectionFormat
     MimeNoContent
     NoContent
     MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat -&gt; (Method, Maybe [Text]) -&gt; [QueryItem]
forall a.
ToHttpApiData a =&gt;
CollectionFormat -&gt; (Method, Maybe [a]) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQueryColl"><span class="hs-identifier hs-var">toQueryColl</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat
</span><a href="OpenAPIPetstore.Core.html#SpaceSeparated"><span class="hs-identifier hs-var">SpaceSeparated</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;http&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">[Text] -&gt; Maybe [Text]
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">[Text]
</span><a href="#local-6989586621679152255"><span class="hs-identifier hs-var">http</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-526"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestQueryParameterCollectionFormat
  MimeNoContent
  NoContent
  MimeNoContent
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest
     TestQueryParameterCollectionFormat
     MimeNoContent
     NoContent
     MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat -&gt; (Method, Maybe [Text]) -&gt; [QueryItem]
forall a.
ToHttpApiData a =&gt;
CollectionFormat -&gt; (Method, Maybe [a]) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQueryColl"><span class="hs-identifier hs-var">toQueryColl</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat
</span><a href="OpenAPIPetstore.Core.html#CommaSeparated"><span class="hs-identifier hs-var">CommaSeparated</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;url&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">[Text] -&gt; Maybe [Text]
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">[Text]
</span><a href="#local-6989586621679152253"><span class="hs-identifier hs-var">url</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-527"></span><span>    </span><span class="annot"><span class="annottext">OpenAPIPetstoreRequest
  TestQueryParameterCollectionFormat
  MimeNoContent
  NoContent
  MimeNoContent
-&gt; [QueryItem]
-&gt; OpenAPIPetstoreRequest
     TestQueryParameterCollectionFormat
     MimeNoContent
     NoContent
     MimeNoContent
forall req contentType res accept.
OpenAPIPetstoreRequest req contentType res accept
-&gt; [QueryItem] -&gt; OpenAPIPetstoreRequest req contentType res accept
</span><a href="OpenAPIPetstore.Core.html#addQuery"><span class="hs-operator hs-var">`addQuery`</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat -&gt; (Method, Maybe [Text]) -&gt; [QueryItem]
forall a.
ToHttpApiData a =&gt;
CollectionFormat -&gt; (Method, Maybe [a]) -&gt; [QueryItem]
</span><a href="OpenAPIPetstore.Core.html#toQueryColl"><span class="hs-identifier hs-var">toQueryColl</span></a></span><span> </span><span class="annot"><span class="annottext">CollectionFormat
</span><a href="OpenAPIPetstore.Core.html#MultiParamArray"><span class="hs-identifier hs-var">MultiParamArray</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><span class="annottext">Method
</span><span class="hs-string">&quot;context&quot;</span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">[Text] -&gt; Maybe [Text]
forall a. a -&gt; Maybe a
</span><span class="hs-identifier hs-var">Just</span></span><span> </span><span class="annot"><span class="annottext">[Text]
</span><a href="#local-6989586621679152251"><span class="hs-identifier hs-var">context</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-528"></span><span>
</span><span id="line-529"></span><span class="hs-keyword">data</span><span> </span><span id="TestQueryParameterCollectionFormat"><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestQueryParameterCollectionFormat"><span class="hs-identifier hs-var">TestQueryParameterCollectionFormat</span></a></span></span><span>  </span><span>
</span><span id="line-530"></span><span class="hs-keyword">instance</span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#Produces"><span class="hs-identifier hs-type">Produces</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.API.Fake.html#TestQueryParameterCollectionFormat"><span class="hs-identifier hs-type">TestQueryParameterCollectionFormat</span></a></span><span> </span><span class="annot"><a href="OpenAPIPetstore.MimeTypes.html#MimeNoContent"><span class="hs-identifier hs-type">MimeNoContent</span></a></span><span>
</span><span id="line-531"></span><span>
</span><span id="line-532"></span></pre></body></html>